
package com.bk.dao.impl;

import java.sql.SQLException;
import java.util.List;

import com.bk.base.BaseDaoImpl;
import com.bk.model.News;

public class NewsDaoImpl extends BaseDaoImpl<News> {
	public static void main(String[] args) throws SQLException {
		List<News> findAll = new NewsDaoImpl().findAll();
		News findById = new NewsDaoImpl().findById("1");
		System.out.println(findById);
	}

}

	